# -*- coding: utf-8 -*-
from django.conf.urls import url
from . import views

urlpatterns = [
    ################   test   #########3
    url(r'^test/$', views.test),
    ################   test   #########3

    url(r'^index/$', views.index),
    url(r'^syncHistory/$', views.syncHistory),
    url(r'^getInfo/$', views.getInfo),
    url(r'^syncTodayInfo/$', views.syncTodayInfo),
    url(r'^getInfoJson/$', views.getInfoJson),
    url(r'^getTodayAll/$', views.getTodayAll),
    # 获取资金实力最强的营业部当天买入的股票集合
    url(r'^getZjslYyb/$', views.getZjslYyb),

    ######################### trading.py #######################
    # 一次性获取最近一个日交易日所有股票的交易数据
    url(r'^get_today_all/$', views.get_today_all),
    # 获取当日分笔明细数据
    url(r'^get_today_ticks/$', views.get_today_ticks),
    # 获取当日分笔明细数据
    url(r'^get_today_ticks_proxy/$', views.get_today_ticks_proxy),
    # 获取每日收盘行情
    url(r'^get_day_all/$', views.get_day_all),
    # 大单交易数据
    url(r'^get_sina_dd/$', views.get_sina_dd),
    # 新股数据
    url(r'^new_stocks/$', views.new_stocks),
    # 获取实时分笔数
    url(r'^get_realtime_quotes/$', views.get_realtime_quotes),
    # 获取大盘指数行情
    url(r'^get_index/$', views.get_index),

    # 获取大盘指数行情
    url(r'^get_daily_ma/$', views.get_daily_ma),

    # 获取历史分笔(标准的)
    url(r'^get_tick_data/$', views.get_tick_data),

    #获取历史分笔（根据天来，并存储到数据库中）
    url(r'^init_tick_data_by_date/$', views.init_tick_data_by_date),

    #获取历史分笔（code、date,并村塾到数据库中）
    url(r'^sync_tick_data_by_code_date/$', views.sync_tick_data_by_code_date),

    ######################### classifying.py #######################
    # 初始化股票分类（只初始化行业、概念、地域、dfcf概念板块）
    url(r'^init_classifying/$', views.init_classifying),
]
